// 全局配置文件

let url
if (process.env.NODE_ENV === 'development') {
	//开发环境
	url = 'http://192.168.2.114:9091';
	// url = 'http://8.137.39.217:8080';
} else {
	//生产环境
	url = 'http://8.137.39.217:9091';
}
//后端请求地址
const BASE_URL = url
// app信息
const appInfo = {
	name: '甜蜜小屋',
	logo: '/static/logo.jpg',
	version: '1.0.8.13',
	sponsor: 'https://vkceyugu.cdn.bspapp.com/VKCEYUGU-5d4c5487-5c0b-49a5-bdb6-e267774b4611/3c38da7f-bf4f-4927-ae5b-22c14d047bc1.jpg',
}
const TOKEN_NAME = "Authorization"
const TOKEN_PREFIX = "Bearer "



export default {
	BASE_URL,
	TOKEN_NAME,
	TOKEN_PREFIX,
	appInfo
}